home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / bubble_elements.swf / scripts / DefineButton2_63 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2007-03-20  |  369 b   |  18 lines

  1. on(release){
  2.    if(this.pn3.text != "")
  3.    {
  4.       _root.playerName = this.pn3.text;
  5.       _root.saveAll(_root.playerName,_root.CNT);
  6.       if(_root.inten)
  7.       {
  8.          removeMovieClip(this);
  9.          _root.showtopten();
  10.       }
  11.       else
  12.       {
  13.          removeMovieClip(this);
  14.          _root.StartGame(_root.myMode,_root.myDiff);
  15.       }
  16.    }
  17. }
  18.